import request from "../../request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired, type Reports } from "../../interface";

/**
 * 保存或更新 Reports 信息
 * /reports
 */
export function postReports(input: Reports, config?: AxiosRequestConfig) {
    return request.post<DeepRequired<boolean>>(`/reports`, input, config);
}
